package com.ws.universal.tools.eventbus;

/**
 * @创建者 ws
 * @创建时间 2021/9/27
 * @描述
 */
public class BaseBusData {
    public int action;
    public int value;
    public String str;
    public Object object;

    public BaseBusData(int action) {
        this.action = action;
    }

    public BaseBusData(int action, int value) {
        this.action = action;
        this.value = value;
    }

    public BaseBusData(int action, int value, Object object) {
        this.action = action;
        this.value = value;
        this.object = object;
    }

    public BaseBusData(int action, String str, Object object) {
        this.action = action;
        this.str = str;
        this.object = object;
    }

    public BaseBusData(int action, String str) {
        this.action = action;
        this.str = str;
    }

    public BaseBusData(int action, Object object) {
        this.action = action;
        this.object = object;
    }

    @Override
    public String toString() {
        return "{" +
                "action=" + action +
                ", value=" + value +
                ", str=" + str +
                ", object=" + object +
                '}';
    }
}
